import request from '@/utils/request'

// 标签列表
export function tag_queryPage(data) {
  return request({
    url: '/tag/queryPage',
    method: 'post',
    data: data
  })
}

// 删除标签
export function tag_delete(id) {
  return request({
    url: '/tag/delete/' + id,
    method: 'delete',
  })
}

// 新增标签
export function tag_insert(data) {
  return request({
    url: '/tag/insert',
    method: 'post',
    data: data
  })
}

// 编辑标签
export function tag_update(data) {
  return request({
    url: '/tag/update',
    method: 'post',
    data: data
  })
}